﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Uc_GiaVang.ascx.cs" Inherits="BatDongSan.Modules.Uc_GiaVang" %>
<div style="border:1px solid #DDDDDD;" align="center">
    <div style="background-color:#0F8AD3; padding:5px; color:#FFFFFF">
        <b>TỶ GIÁ NGOẠI TỆ</b>
    </div>
    <div style="padding:10px; line-height:25px;">
        <div>

            <div align="left" style="width:90%">&nbsp;<b>Giá vàng</b></div>

            <div>

                <div align="right" style="width:90%; font-family:Arial; font-size: 10px; color: #3676ba">ĐVT: tr.đồng/lượng</div>

                <table width="90%" border="1" style="font-family:Arial; font-size:12px;" cellspacing="0" cellpadding="0" align="center">

                    <tr>

                        <td style="padding-left:10px;">Loại</td>

                        <td style="padding-left:10px;">Mua</td>

                        <td style="padding-left:10px;">Bán</td>

                    </tr>



                    <script type="text/javascript" language="JavaScript" src="http://vnexpress.net/Service/Gold_Content.js"></script>

                    <script type="text/javascript" language="JavaScript">

                        document.write("<tr><td style=\"padding-left:10px;\">SBJ</td><td style=\"padding-left:10px;\">" + vGoldSbjBuy + "</td><td style=\"padding-left:10px;\">" + vGoldSbjSell + "</td></tr>");

                        document.write("<tr><td style=\"padding-left:10px;\">SJC</td><td style=\"padding-left:10px;\">" + vGoldSjcBuy + "</td><td style=\"padding-left:10px;\">" + vGoldSjcSell + "</td></tr>");

                    </script>
                </table>
                <div align="right" style="width:90%;"><label style="font:italic 10px arial; color:#919090;">(Nguồn: <a href="http://www.sacombank-sbj.com" target="_blank">Sacombank-SBJ</a>)</label></div>
            </div>

            <div align="left" style="width:90%">&nbsp;<b>Tỷ giá</b></div>

            <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px;">

                <script type="text/javascript" language="JavaScript" src="http://vnexpress.net/Service/Forex_Content.js"></script>

                <table width="90%" border="1" cellspacing="0" cellpadding="0" align="center">

                    <script type="text/javascript" language="JavaScript">

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[0] + " </td><td align=right style=\"padding-right:10px;\">" + vCosts[0] + " </td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[1] + " </td><td align=right style=\"padding-right:10px;\">" + vCosts[1] + " </td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[2] + " </td><td align=right style=\"padding-right:10px;\">" + vCosts[2] + "</td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[3] + " </td><td align=right style=\"padding-right:10px;\"> " + vCosts[3] + "</td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[4] + "</td><td align=right style=\"padding-right:10px;\"> " + vCosts[4] + "</td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[5] + "</td><td align=right style=\"padding-right:10px;\"> " + vCosts[5] + "</td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[6] + "</td><td align=right style=\"padding-right:10px;\"> " + vCosts[6] + "</td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[7] + " </td><td align=right style=\"padding-right:10px;\"> " + vCosts[7] + "</td></tr>");

                        document.write("<tr><td align='Left' style=\"padding-left:10px;\">&nbsp;" + vForexs[8] + "</td><td align=right style=\"padding-right:10px;\">" + vCosts[8] + "</td></tr>");

                    </script>

                </table>                        

            </div>

            <div align="right" style="width:90%;"><label style="font:italic 10px arial; color:#919090;">(Nguồn: <a href="http://www.eximbank.com.vn" target="_blank">Eximbank</a>)</label></div>    

        </div>
    </div>
</div>